import { Injectable } from '@nestjs/common';
import { Repository, DataSource } from 'typeorm';
import { Robot } from './robot.entity';

@Injectable()
export class RobotRepository extends Repository<Robot> {
  constructor(private dataSource: DataSource) {
    super(Robot, dataSource.createEntityManager());
  }
} 